package sf.md.create.prototype.shallow;

public class PeoplePrototype  {

    public static void main(String[] args){
        People people = new People();
        try {
            People people1 = (People) people.clone();
            System.out.println("people1:"+people1.toString());
            people.setName("songbingging");
            //people1.setName("songbingbing");
            System.out.println(people1.toString());
            System.out.println(people.toString());

        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
    }
}
